package com.ruoyi.system.service.impl;

import com.ruoyi.system.domain.AlgsMsgInfo;
import com.ruoyi.system.mapper.AlgsMsgInfoMapper;
import com.ruoyi.system.service.AlgsMsgInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AlgsMsgInfoServiceImpl implements AlgsMsgInfoService {

    @Autowired
    private AlgsMsgInfoMapper algsMsgInfoMapper;

    @Override
    public int deleteByPrimaryKey(Long id) {
        return algsMsgInfoMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(AlgsMsgInfo record) {
        return algsMsgInfoMapper.insert(record);
    }

    @Override
    public int insertSelective(AlgsMsgInfo record) {
        return algsMsgInfoMapper.insertSelective(record);
    }

    @Override
    public AlgsMsgInfo selectByPrimaryKey(Long id) {
        return algsMsgInfoMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(AlgsMsgInfo record) {
        return algsMsgInfoMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(AlgsMsgInfo record) {
        return algsMsgInfoMapper.updateByPrimaryKey(record);
    }
}
